package com.doraro.platform.module.device.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.doraro.platform.module.device.model.entity.RepairOrder;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author doraro
 * @since 2019-04-21
 */
public interface RepairOrderMapper extends BaseMapper<RepairOrder> {

    Integer findOrderExist(@Param("deviceId") Integer deviceId, @Param("userId") Integer userId, @Param("orderStatus") Integer orderStatus);

    Integer getCycleTime(@Param("deviceId") String deviceId);


}
